package com.itzjc.service.impl;

import com.itzjc.dao.BaseMapper;
import com.itzjc.domain.pojo.*;
import com.itzjc.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO
 *
 * @className: BaseServiceImpl
 * @date: 2022-04-22 19:58
 **/

@Service
public class BaseServiceImpl implements BaseService {
    @Autowired(required = false)
    private BaseMapper baseMapper;

    @Override
    public String getTestString() {
        return "hello";
    }

    @Override
    public List<Sensor> getSensorList() {
        return baseMapper.getSensorList();
    }

    @Override
    public List<Data> getDataDefault() {
        return baseMapper.getDataDefault();
    }

    @Override
    public List<Data> getDataByNumberList(int number) {
        return baseMapper.getDataByNumberList(number);
    }

    @Override
    public List<DataAction> getDataActionDefault() {
        return baseMapper.getDataActionDefault();
    }

    @Override
    public List<DataAction> getDataActionByNumberList(int number) {
        return baseMapper.getDataActionByNumberList(number);
    }

    @Override
    public List<DataDay> getDataDayDefault() {
        return baseMapper.getDataDayDefault();
    }

    @Override
    public List<DataDay> getDataDayByNumberList(int number) {
        return baseMapper.getDataDayByNumberList(number);
    }

    @Override
    public List<DataHour> getDataHourDefault() {
        return baseMapper.getDataHourDefault();
    }

    @Override
    public List<DataHour> getDataHourByNumberList(int number) {
        return baseMapper.getDataHourByNumberList(number);
    }

    @Override
    public List<DataMinute> getDataMinuteDefault() {
        return baseMapper.getDataMinuteDefault();
    }

    @Override
    public List<DataMinute> getDataMinuteByNumberList(int number) {
        return baseMapper.getDataMinuteByNumberList(number);
    }

    @Override
    public List<DataTMinute> getDataTMinuteDefault() {
        return baseMapper.getDataTMinuteDefault();
    }

    @Override
    public List<DataTMinute> getDataTMinuteByNumberList(int number) {
        return baseMapper.getDataTMinuteByNumberList(number);
    }

    @Override
    public List<DataWeek> getDataWeekDefault() {
        return baseMapper.getDataWeekDefault();
    }

    @Override
    public List<DataWeek> getDataWeekByNumberList(int number) {
        return baseMapper.getDataWeekByNumberList(number);
    }

    @Override
    public List<Display> getDisplayDefault() {
        return baseMapper.getDisplayDefault();
    }

    @Override
    public List<Display> getDisplayByNumberList(int number) {
        return baseMapper.getDisplayByNumberList(number);
    }

    @Override
    public List<SensorGroup> getSensorGroupDefault() {
        return baseMapper.getSensorGroupDefault();
    }

    @Override
    public List<SensorGroup> getSensorGroupByNumberList(int number) {
        return baseMapper.getSensorGroupByNumberList(number);
    }

    @Override
    public List<SensorValue> getSensorValueDefault() {
        return baseMapper.getSensorValueDefault();
    }

    @Override
    public List<SensorValue> getSensorValueByNumberList(int number) {
        return baseMapper.getSensorValueByNumberList(number);
    }

    @Override
    public List<WarningTable> getWarningTableDefault() {
        return baseMapper.getWarningTableDefault();
    }

    @Override
    public List<WarningTable> getWarningTableByNumberList(int number) {
        return baseMapper.getWarningTableByNumberList(number);
    }
}
